package cn.stylefeng.guns.sys.modular.sysdistrict.mapper;

import cn.stylefeng.guns.sys.modular.sysdistrict.model.result.AreaTree;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.sys.modular.sysdistrict.entity.SysDistrict;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
 * sys_district Mapper 接口
 *
 * @author 刘耀
 * @date 2021/03/15 20:13
 */
@Repository
public interface SysDistrictMapper extends BaseMapper<SysDistrict> {

    List<AreaTree> areaTree(@Param("provinceId") Long provinceId);


    List<Map<String, String>> selectTw2();

    List<Map<String, String>> selectTw3(@Param("code")String code);
}